package com.netease.pris.atom;

import android.text.TextUtils;
import com.netease.f.b;
import java.util.Iterator;
import java.util.LinkedList;

public class l extends b
{
  public static final String a = "key";
  public static final String b = "value";
  b c;
  b d;
  LinkedList j;

  public l()
  {
    super("pris:exif");
  }

  private void e(b paramb)
  {
    if (this.j == null)
      this.j = new LinkedList();
    this.j.add(paramb);
  }

  public b a(String paramString1, String paramString2)
  {
    b localb = new b(paramString1);
    if (TextUtils.isEmpty(paramString1));
    while (true)
    {
      if (paramString2 != null)
        localb.g(paramString2);
      return d(localb);
      switch (paramString1.charAt(0))
      {
      default:
        break;
      case 'i':
        if (!paramString1.equals("info"))
          continue;
        e(localb);
        break;
      case 't':
        if (!paramString1.equals("title"))
          continue;
        this.c = localb;
        break;
      case 's':
        if (!paramString1.equals("subtitle"))
          continue;
        this.d = localb;
      }
    }
  }

  public boolean a()
  {
    if (this.c != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean b()
  {
    if (this.d != null);
    for (int i = 1; ; i = 0)
      return i;
  }

  public String c()
  {
    if (a());
    for (String str = this.c.A(); ; str = null)
      return str;
  }

  public String d()
  {
    if (b());
    for (String str = this.d.A(); ; str = null)
      return str;
  }

  public String e()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    if ((a()) && (!TextUtils.isEmpty(c())))
    {
      localStringBuilder.append(c());
      localStringBuilder.append("\n");
    }
    if ((b()) && (!TextUtils.isEmpty(d())))
    {
      localStringBuilder.append(d());
      localStringBuilder.append("\n");
    }
    if (this.j != null)
    {
      Iterator localIterator = this.j.iterator();
      while (localIterator.hasNext())
      {
        b localb = (b)localIterator.next();
        String str1 = localb.a("key");
        if (!TextUtils.isEmpty(str1))
          localStringBuilder.append(str1);
        String str2 = localb.a("value");
        if (!TextUtils.isEmpty(str2))
        {
          localStringBuilder.append(" : ");
          localStringBuilder.append(str2);
        }
        localStringBuilder.append("\n");
      }
    }
    if (localStringBuilder.length() > 1)
      localStringBuilder.deleteCharAt(-1 + localStringBuilder.length());
    return localStringBuilder.toString();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.atom.l
 * JD-Core Version:    0.6.0
 */